<!--
 * @Author: yaojian66 1327629137@qq.com
 * @Date: 2022-06-24 14:32:57
 * @LastEditors: yaojian66 1327629137@qq.com
 * @LastEditTime: 2022-06-24 14:42:22
 * @FilePath: \geyao\第四十题.html
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>对象数字</title>
</head>
<body>
  <!-- 请补全JavaScript函数，要求将数字参数转换为对象的形式返回。
示例：
1. typeof number === 'number' -> typeof _numbertoobject(number) === 'object' -->
  <script>
    function _numbertoobject(number) {
    // 补全代码
    return {number}  //返回一个number对象 {number：number}
}
  </script>
</body>
</html>